﻿namespace Domain.UserManagement.Entities
{
    public abstract class Permission
    {
#warning Comment by Elmar: There was no Key on this entity so it broke the database for us all.
        public int Id { get; set; }
        public string Name { get; set; }
        public bool CanRead { get; set; }
        public bool CanWrite { get; set; }

        public Permission()
        {
            CanRead = true;
            CanWrite = false;
        }
    }
}
